package org.fhawk.tinyspring.mvc;


import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 过滤器
 */
public interface SimpleFilter {
    /**
     * 过滤
     *
     * @param request  request
     * @param response response
     * @return boolean
     */
    boolean filter(HttpServletRequest request, HttpServletResponse response);

    /**
     * @return 返回值
     */
    Object result();
}
